package cn.edu.ujn.laxlab2.dao;

import cn.edu.ujn.laxlab2.dao.Customer;

public interface CustomerMapper {
	/**
	 * deleteByPrimaryKey(Integer id):通过id删除
	 * insert(Customer record)：插入数据
	 * insertSelective(Customer record)：
	 * selectByPrimaryKey(Integer id)：通过id查询
	 * updateByPrimaryKeySelective(Customer record)：
	 * updateByPrimaryKey(Customer record)：更新数据
	 * 
	 * @param id
	 * @return
	 */
    int deleteByPrimaryKey(Integer id);

    int insert(Customer record);

    int insertSelective(Customer record);

    Customer selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Customer record);

    int updateByPrimaryKey(Customer record);
}